﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="headandfoot.aspx.cs" Inherits="MiaoWeiProject.Headandfoot.headandfoot" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        * {
            padding: 0px;
            margin: 0px;
            font-size: 12px;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
        }
        /*头部样式*/
        #heard {
            width: 100%;
            height: 70px;
            /*background-color:#e7e2eb;*/
            background: url('/images/nav-bg.png') repeat-x left top;
            display: flex;
        }

        #heard_conet {
            height: 50px;
            margin: 10px auto;
            width: 75%;
            /*border:1px solid red;*/
            display: flex;
            justify-content: space-between;
        }

        #conter_left {
            width: 275px;
            height: 50px;
            /*border:1px solid red;*/
            background: url('/images/nav-logo-2019-0826.png') no-repeat left center;
        }

        #conter_zhong {
            width: 60%;
            height: 50px;
            /*border:1px solid red;*/
        }

            #conter_zhong ul {
                display: flex;
                justify-content: space-between;
                overflow: hidden;
            }

                #conter_zhong ul li {
                    /*width:18%;*/
                    /*border:1px solid green;*/
                    text-align: center;
                    height: 50px;
                    line-height: 50px;
                }

                    #conter_zhong ul li a {
                        padding: 7px 27px;
                        /*border:1px solid pink;*/
                        color: #666;
                        font-size: 1.2em;
                        border-radius: 18px;
                    }

                    #conter_zhong ul li i.nav-new {
                        display: inline-block;
                        width: 39px;
                        height: 20px;
                        background: url('/images/nav-new.png') no-repeat left top;
                        vertical-align: middle;
                        margin-left: 4px;
                    }
        /*悬浮导航样式*/
        /*#conter_zhong ul li a:*/ .hover {
            color: #f70;
            background-color: #e0dce4;
            box-shadow: 2px 2px 1px #c5c0cc inset;
        }

        #conter_right {
            width: 8%;
            height: 50px;
            /*border:1px solid red;*/
        }

            #conter_right ul {
                height: 50px;
                line-height: 50px;
                display: flex;
                justify-content: space-between;
                overflow: hidden;
            }

                #conter_right ul li {
                    text-align: center;
                }

                    #conter_right ul li a {
                        font-size: 1.1em;
                        color: #666;
                    }

                        #conter_right ul li a:hover {
                            color: #f70;
                        }
        /*点击导航样式*/
        .yangshi {
            color: #fff;
            background-color: #e75c77;
            box-shadow: 2px 2px 1px #c42f4c inset;
        }

        /*中间样式*/
        #zhongjian{
            height:800px;
            width:100%;
            border:1px solid red;
        }
        /*尾部样式*/
        #weibu{
            height:144px;
            width:100%;
            border:1px solid green;
            display:flex;
            background: url('/images/footer-bg.jpg') repeat-x left top;
        }
        #weibu_zhong{
            width:75%;
            height:80px;
            margin: 30px auto;
    justify-content:space-between;
            /*border:1px solid pink;*/
            display:flex;
        }
        #weibu_left{
            height:100%;
            width:25%;
            /*border:1px solid black;*/
            border-right:2px solid  #b7b3c1;
        }
        #weibu_right{
            height:100%;
            width:65%;
            /*border:1px solid blue;*/
        }
        #weibu_right_top{
            height:50%;
            width:100%;
            /*border:1px solid red;*/
        }
           #weibu_right_down{
            height:50%;
            width:100%;
            /*border:1px solid black;*/
        }
           #weibu_right_top ul{
               display:flex;
               justify-content:space-between;
               overflow:hidden;
           }
              #weibu_right_top ul li{
                  height:35px;
                  line-height:35px;
              }
               #weibu_right_top ul li a{
                   color: #666;
                   font-size:1.1em;
               }
                #weibu_right_top ul li a:hover{
                    color: #f70;
                }
                #weibu_right_top ul li.link-line{
                      color: #666;
                    padding: 0 16px;
                }
                #weibu_right_down p{
                    font-size:1.2em;
                    color: #6f7b91;
                    height:35px;
                    line-height:35px;
                }
    </style>
    <script src="../js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".li").hover(function () {
                $(this).addClass("hover");
                $(this).css({ "color": " #f70" });
                //$(this).parent().siblings().children().removeClass("hover");
            }, function () {
                $(this).removeClass("hover");
                $(this).css({ "color": "#666" });
                //$(this).parent().siblings().children().removeClass("hover");
            }
            );
            $(".li").click(function () {
                $(this).addClass("yangshi");
                $(this).css({ "color": "white" });
                $(this).parent().siblings().children().removeClass("yangshi");
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <%--  头部--%>
        <div id="heard">
            <div id="heard_conet">
                <div id="conter_left"></div>
                <div id="conter_zhong">
                    <ul>
                        <li><a href="#" class="li">首页</a></li>
                        <li><a href="#" class="li">课程</a></li>
                        <li><a href="#" class="li">视频学习</a></li>
                        <li><a href="#" class="li">尊享视频<i class="nav-new"></i></a></li>
                        <li><a href="#" class="li">社区</a></li>
                    </ul>
                </div>
                <div id="conter_right">
                    <ul>
                        <li><a href="#">登录</a></li>
                        <li>|</li>
                        <li><a href="#">注册</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <%--中间内容--%>
        <div id="zhongjian"></div>
      <%--  尾部内容--%>
        <div id="weibu">
            <div id="weibu_zhong">
                <div id="weibu_left">
                    <img src="../images/weibumiaowei.jpg" /></div>
                <div id="weibu_right">
                    <div id="weibu_right_top">
                        <ul>
                            <li><a href="#">首页</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">课程</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">视频学习</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">尊享视频</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">社区</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">关于我们</a></li>
                            <li class="link-line">|</li>
                                <li><a href="#">常见问题</a></li>
                            
                        </ul>
                    </div>
                     <div id="weibu_right_down"><p>京ICP备08102442号-1 2007-2019 MIAOV.COM 版权所有</p></div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
